package com.pinecone.dao;

import com.pinecone.dto.HostAndPrincipalDTO;
import com.pinecone.entity.CusHostEntity;
import com.pinecone.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 主播信息表
 * 
 * @author hushangjie
 * @email 979783618@qq.com
 * @date 2017-09-27 21:17:58
 */
@Mapper
@Repository
public interface CusHostDao extends BaseDao<CusHostEntity> {
    CusHostEntity queryByCusId(Integer customerId);
    List<HostAndPrincipalDTO> queryCombineListByOrgId(Integer orgId);
    List<HostAndPrincipalDTO> queryCombineList(Map<String, Object> map);
    int queryCombineTotal(Map<String, Object> map);
    CusHostEntity queryByLiveRoomId(String liveRoomId);
}
